home *** CD-ROM | disk | FTP | other *** search
- 1 ! checksums
- 2 NL = 30 ! 30 lines per block
- 3 open #8,"plot-8300P",input
- 4 on eof ignore
- 5 loop
- 6 s = 0
- 7 for i% = 1 to NL
- 8 linput #8, a$
- 9 stat = io_status
- 10 if stat <> 0 then quit
- 11 for j% = 1 to len(a$)
- 12 k = ord(a$(j%:j%))
- 13 if k <> 32 then s = s + k
- 14 next j%
- 15 b$ = a$
- 16 next i%
- 17 print b$(1:5), s
- 18 if stat <> 0 then quit
- 19 endloop
- 20 close #8
- 21 stop
-